package com.kurumi.service;

import java.util.List;
import java.util.Map;

import com.kurumi.query.MedicalRecordPaginationQuery;

public interface MedicalRecordPaginationService {

	List<Map<String,Object>> getUnPaginationImagesByVisitGuid(String visitGuid);
	
	List<Map<String,Object>> getFinishPaginationImagesByVisitGuid(String visitGuid);
	
	int imagePagination(Integer scanImageId,String newPageTypeCode,String newPageTypeName);
	
	int batchImagePagination(Integer[] scanImageIds,String newPageTypeCode,String newPageTypeName);
	
	Map<String,Integer> getPaginationCountInfo(String visitGuid);
	
	List<Map<String,Object>> getPaginationInfoByVisitGuid(String visitGuid);
	
	int updatePaginationImageSortIndex(Integer scanImageId,Integer sortIndex);
	
	int removePaginationImage(Integer scanImageId);
	
	/**
	 * 获取编页病案
	 * @return
	 */
	List<Map<String,Object>> getMedicalRecordOfPagination(MedicalRecordPaginationQuery query);
	
	/**
	 * 获取编页病案数量
	 * @return
	 */
	int getMedicalRecordCountOfPagination(MedicalRecordPaginationQuery query);
}
